package com.zatech.cgnci.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.CgnciUnearnedPremiumReserveLedgerDTO;
import com.zatech.cgnci.project.entity.CgnciOutstandingClaimsReserveLedgerDO;
import com.zatech.cgnci.project.mapper.CgnciOutstandingClaimsReserveLedgerMapper;
import com.zatech.cgnci.project.service.CgnciOutstandingClaimsReserveLedgerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zatech.cgnci.project.vo.CgnciOutstandingClaimsReserveLedgerVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 未决赔款准备金台账表 服务实现类
 * </p>
 *
 * @author Generator
 * @since 2025-01-23
 */
@Service
public class CgnciOutstandingClaimsReserveLedgerServiceImpl extends ServiceImpl<CgnciOutstandingClaimsReserveLedgerMapper, CgnciOutstandingClaimsReserveLedgerDO> implements CgnciOutstandingClaimsReserveLedgerService {

    @Override
    public IPage<CgnciOutstandingClaimsReserveLedgerVO> pageData(CgnciUnearnedPremiumReserveLedgerDTO queryDTO) {
        return this.baseMapper.page(queryDTO.toPage(), queryDTO);
    }
}
